chalk it up to experience

[网络] 当作积累经验;记住教训;买个教训